Include/exclude patterns improvements
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Hi,
(This was actually mentioned by a customer and I'm forwarding on their behalf.)
When listing files to stage or prime for a part in snapcraft.yaml, the list of patterns seems to be sorte into an include list and an exclude list, and then processed in a way where all excludes win over all includes.
Instead, it might be more useful to either always process all includes last, or to process includes/excludes in the order specified in the snapcraft.yaml. This would allow handling a broader variety of cases.
Best,
- Loïc
Evaluation history
No evaluation history available.